+Thu Mar 11 01:08:25 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+ width of the entry a tad.
+
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+ gtk_entry_completion_selection_changed. Also, unref the
+ completion as we were leaking a reference to it.
+
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to
+Thu Mar 11 01:08:25 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+ width of the entry a tad.
+
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+ gtk_entry_completion_selection_changed. Also, unref the
+ completion as we were leaking a reference to it.
+
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to
+Thu Mar 11 01:08:25 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+ width of the entry a tad.
+
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+ gtk_entry_completion_selection_changed. Also, unref the
+ completion as we were leaking a reference to it.
+
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to
+Thu Mar 11 01:08:25 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+ width of the entry a tad.
+
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+ gtk_entry_completion_selection_changed. Also, unref the
+ completion as we were leaking a reference to it.
+
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to
+Thu Mar 11 01:08:25 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+ width of the entry a tad.
+
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+ gtk_entry_completion_selection_changed. Also, unref the
+ completion as we were leaking a reference to it.
+
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to
entry = _gtk_file_chooser_entry_new ();
/* Pick a good width for the entry */
- gtk_entry_set_width_chars (GTK_ENTRY (entry), 25);
+ gtk_entry_set_width_chars (GTK_ENTRY (entry), 30);
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
_gtk_file_chooser_entry_set_file_system (GTK_FILE_CHOOSER_ENTRY (entry), impl->file_system);
_gtk_file_chooser_entry_set_base_folder (GTK_FILE_CHOOSER_ENTRY (entry), impl->current_folder);
completion_match_func,
chooser_entry,
NULL);
-
- renderer = gtk_cell_renderer_text_new ();
- gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (comp), renderer, TRUE);
- gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (comp), renderer, "text", 0);
+ gtk_entry_completion_set_text_column (comp, 0);
gtk_entry_set_completion (GTK_ENTRY (chooser_entry), comp);
+ g_object_unref (comp);
g_signal_connect (chooser_entry, "notify::cursor-position",
G_CALLBACK (clear_completion_callback), NULL);